﻿@model LbangCMS.ViewModels.VideoDetailModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@{ Html.RenderPartial("_InnerBanner");}
<div class="gx_p_content container">
    <div class="row">
        <!--Video_left-->
        <div class="gx_p_content_left am-animation-slide-left" data-am-scrollspy="{animation: 'slide-left'}">
            <div class="gx_p_left_top hidden-in">
                <h2 class="gx_p_left_tittle">视频中心</h2>
                <span class="gx_p_left_letter">Video Center</span>
            </div>
            <ul class="gx_p_left_nav clearfix">
                @if (Model.VideoCategories != null && Model.VideoCategories.Any())
                {
                    foreach (var item in Model.VideoCategories)
                    {
                        if (Model.CurrentCategoryId == item.ID)
                        {
                            <li><a class="gx_p_nav_on" href="@Url.Action("Index","Video",new { categoryId=item.ID})">@item.Name<i class="fa icon-left hidden-in"></i></a></li>
                        }
                        else
                        {
                            <li><a href="@Url.Action("Index","Video",new { categoryId=item.ID})">@item.Name<i class="fa icon-left hidden-in"></i></a></li>
                        }
                    }
                }
            </ul>
        </div>
        <div class="gx_p_content_right am-animation-scale-up" data-am-scrollspy="{animation: 'scale-up'}">
            <div class="gx_p_right_top">
                <div class="gx_p_right_title"><strong class="gx_p_right_name">@Model.CurrentCategoryName</strong><span class="gx_p_right_letter"><i class="fa icon_small"></i></span></div>
                <div class="gx_p_right_position hidden-in"><i class="fa icon-position"></i><a href="@Url.Action("Index","Home")">首页</a>><a href="@Url.Action("Index","Video",new { categoryId=Model.CurrentCategoryId }) ">@Model.CurrentCategoryName</a>><a href="video_details.html">视频详情</a></div>
            </div>
            <div class="gx_p_right_main">
                <h3 class="gx_p_right_main_tittle">@Model.Title</h3>
                <div class="gx_p_right_time"><span>发布时间：@Model.PublishTime</span></div>
                <div class="gx_p_right_text">
                    @Html.Raw(Model.Body)
                </div>
            </div>
        </div>
    </div>
</div>
